<template>
  <el-tag
    :type="{
      '-1': '',
      0:'warning', 1:'warning', 2:'warning',
      3:'danger', 4:'success', 5:'danger'}[status]"
    v-bind="$attrs"
  >
    {{DictMan.itemMap('volunteer.orderStatus')[status]}}
  </el-tag>
</template>

<script>
export default {
  inheritAttrs: false,
  props: {
    status: {
      type: [String, Number]
    }
  },
  colors: {
    '-1': '#409EFF',
    0: '#E6A23C', 1: '#E6A23C', 2:'#E6A23C',
    3: '#F56C6C', 4: '#67C23A', 5: '#F56C6C'
  }
}
</script>